﻿<%@ Page Language="c#" Codebehind="Add.aspx.cs" AutoEventWireup="True" Inherits="Maticsoft.Web.Accounts.Add" %>

<%@ Register Src="../../Controls/checkright.ascx" TagName="checkright" TagPrefix="uc2" %>
<%@ Register Src="../../Controls/copyright.ascx" TagName="copyright" TagPrefix="uc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>增加用户</title>
   <link href="/style.css" type="text/css" rel="stylesheet">
    <script src="/js/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script src="/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/js/AddAccount.js" type="text/javascript"></script>

</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td class="tdbg">
                
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
	<tr>
	<td height="25" width="30%" align="right">
		用户帐号
	：</td>
	<td height="25" width="*" align="left">
        <input id="txtUserAccount" type="text" runat="server" Width="200px" onblur="CheckUserName()" />
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		所属角色：
	：</td>
	<td height="25" width="*" align="left">
            <asp:DropDownList ID="ddlRole" TabIndex="1" runat="server" Width="200px" BorderStyle="Groove">
            </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		用户密码
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtUserPassword" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		真实姓名
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtUserName" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		单位名
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtCompany" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		部门
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtDepartMent" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		性别
	：</td>
	<td height="25" width="*" align="left">
        <asp:RadioButton ID="rbtnMen" runat="server" GroupName="sex" Checked="true" 
            Text="男" />
        <asp:RadioButton ID="rbtnWomen"
            runat="server" GroupName="sex" Text="女" />
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		出生日期
	：</td>
	<td height="25" width="*" align="left">
        <input id="txtBirthDay" class="Wdate" type="text" onClick="WdatePicker({minDate:'1950-01-01',maxDate:'2000-12-20'})" runat="server" readonly="readonly"/>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		联系电话
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtTel" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		职务
	：</td>
	<td height="25" width="*" align="left">
		<asp:TextBox id="txtDuty" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		个人头像
	：</td>
	<td height="25" width="*" align="left">
        <asp:FileUpload ID="FileUpload1" runat="server" Width="200px" />    
	</td></tr>
	<tr> 
	<td height="25" width="30%" align="right">
		开通账号
	：</td>
	<td height="25" width="*" align="left">
        <asp:CheckBox ID="chboxKaiTong" runat="server" Checked="true" />
	</td></tr>
</table>
<script src="/js/calendar1.js" type="text/javascript"></script>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保存"
                    OnClick="btnSave_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
                <asp:Button ID="btnCancle" runat="server" Text="取消"
                    OnClick="btnCancle_Click" class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'"></asp:Button>
            </td>
        </tr>
    </table>
    <br />
    </form>
</body>
</html>
